package com.darren.euc.dao.impl;


import java.util.List;

import org.hibernate.Session;
import org.springframework.stereotype.Repository;

import com.darren.euc.dao.ClueFollowDao;
import com.darren.euc.entity.ClueFollow;


@Repository
public class ClueFollowDaoImpl extends BaseDaoImpl<ClueFollow, Integer> implements ClueFollowDao {
	
	@SuppressWarnings("unchecked")
	@Override
	public List<ClueFollow> getAll() {
		Session session = sessionFactory.getCurrentSession();	
		List<ClueFollow> clueFollows = session.createQuery("from ClueFollow").list();
		return clueFollows;
	}


}